#include <stdio.h>
int main(){
    int num = 0;
    scanf("%d",&num);
    if(num < 0) printf("1\n");
    else if(num == 0) printf("0\n");
    else if(num > 0) printf("-1\n");
    return 0;
}
